/* CSS重置与标准化 */

/* Box sizing rules */
*,
*::before,
*::after {
    box-sizing: border-box;
}

/* Remove default margin and padding */
html,
body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
ul,
ol,
li,
dl,
dt,
dd,
figure,
blockquote,
fieldset,
legend {
    margin: 0;
    padding: 0;
}

/* Set core body defaults */
body {
    min-height: 100vh;
    scroll-behavior: smooth;
    text-rendering: optimizeSpeed;
    line-height: 1.5;
    font-family: "Helvetica Neue", Helvetica, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "微软雅黑", Arial, sans-serif;
    font-size: 14px;
    color: #303133;
    background-color: #f5f7fa;
}

/* 修复表格 */
table {
    border-collapse: collapse;
    border-spacing: 0;
}

/* 移除列表样式 */
ul,
ol {
    list-style: none;
}

/* 设置图片基础样式 */
img {
    max-width: 100%;
    display: block;
}

/* 表单元素继承字体 */
input,
button,
textarea,
select {
    font: inherit;
}

/* 取消链接下划线 */
a {
    text-decoration: none;
}

/* 重置按钮样式 */
button {
    cursor: pointer;
    background: none;
    border: none;
    outline: none;
    padding: 0;
}

/* 清除浮动 */
.clearfix:after {
    content: "";
    display: table;
    clear: both;
}

/* 设置焦点样式 */
:focus {
    outline: none;
}

/* 设置文字选中样式 */
::selection {
    background-color: #409EFF;
    color: white;
}